import React from "react";

class Less extends React.Component {
  click() {
    console.log('类组件');
  }
  render() {
    return <button onClick={this.click}>按钮</button>
  }
}

export default Less